package com.example.comment_oa.dubbo;

import com.example.comment_oa.pojos.SysUser;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface SysUserDubbo {
    //login
    SysUser login(String username,String userPassword);
    //新增
    int insert(SysUser sysUser);
    //修改
    int update(SysUser sysUser);
    //删除
    int delete(SysUser sysUser);
    //权限
    Set<String> findUserPermissionByid(int userId);
}
